package com.mocha.bss.websocket;

import com.coffee.ws.handler.CoffeeConnectHandler;
import jakarta.websocket.Session;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;


/**
 * @author: songkui
 * @since: 2023/2/24 9:10
 */
@Service
@Slf4j
public class ConnectHandler implements CoffeeConnectHandler {
    @Override
    public void connect(Long userId, Session session) {

        log.info("--do connect  handler uid {}  session {}--", userId, session.getId());
        //SessionManager.sendMessage(session, MochaResponse.responseCode(ResponseCode.Success));

    }
}
